package com.iflytek.management.controller;

import java.io.IOException;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.alibaba.fastjson.JSONObject;
import com.iflytek.management.mapper.TaskMapper;
import com.iflytek.management.util.MybatisUtil;


//  没写完
@Controller
@RequestMapping(value = "/task")
public class TaskController {

	@RequestMapping(value = "/addTask.do",method = RequestMethod.POST)
	@ResponseBody
	public JSONObject addTask() throws IOException {

		TaskMapper mapper = MybatisUtil.Prepare(TaskMapper.class);
		JSONObject res = new JSONObject();

		try {
			
			
		} catch (Exception e) {
			System.out.println(e);
		}

		return res;
	}
	
}